﻿using AutoMapper;
using Esosi.Balance.Bll.Dtos;
using System;
using System.Collections.Generic;
using System.Text;

namespace Esosi.Balance.Bll.Models.Hospital
{
    public class HospitalTpoProfile : Profile
    {
        public HospitalTpoProfile()
        {
            CreateMap<RegisterHospitalTpo, RegisterTpoDto>()
                .ForMember(dest => dest.MustPay, opt => opt.MapFrom(src => src.YingShou)).ReverseMap();
        }
    }
}